import 'package:flutter/material.dart';
import '../model/post.dart';

class ListViewDetailDemo extends StatelessWidget {

  final Post post;

  ListViewDetailDemo({
    @required this.post
  });

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        centerTitle: true,
        title: Text('${post.title}'),
      ),
    );
  }
}
